import React from "react";
import { Link } from "mirrorx";
import styles from "./style.css";

class Technology50 extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
      <nav>
        <ul className={styles.ul}>
          {this.props.routers.map((item, index) => (
            <li key={index} className={styles.li}>
              <Link to={item.path} className={styles.li} replace>
                {item.name}
              </Link>
            </li>
          ))}
        </ul>
      </nav>
    );
  }
}

export default Technology50;
